home *** CD-ROM | disk | FTP | other *** search
- It does _not_ mean that all 8-bit data has to be base64 encoded. 8bit
- is a perfectly valid Content-Transfer-Encoding, if you're using FTP or
- WAIS or some other 8-bit-clean transport mechanism. But if you're
- using email or HTTP, base64 solves the issue quite neatly.
-
- Nor does it mean that all documents look like RFC-822 messages.
- Messages is one _type_ of MIME body part. The text/plain type covers
- plain text documents. Image/gif is good for lots of pictures.
- Application/postscript covers printer-ready stuff. Unknown data can be
- tagged application/octet-stream. And you can use types starting with
- "x-" for experimental private types.
-
-
- WWW should use typed links, either implicitly or explicitly. For example,
- client software can infer the type of a link to a USENET news article
- to be message/rfc-822. But it should not assume that a link to a file
- on an FTP server is text! That link should include the type of the
- data so that the client software can process it intelligently. There's
- already quite a bit of this going on in the WWW browser code. The MIME
- semantics are just a way to formalize it with the possibility of
- interoperating with other systems.
-
- For example, if an anchor that points to a postscript format document
- should look like:
-
- <A href="http://info.cern.ch/hypertext/foo.ps"
- type="application/postscript"> here is a postscript file.</A>
-
- I wrote a proposal to recast the whole syntax of URLs so that the
- above sample would look more like:
-
- <A><HTTP host="info.cern.ch" path="hypertext/foo.ps"
- type="application" subtype="postscript">
- here is a postscript file.</A>
-
- The ideas is that we've already got some sort of SGML parser: why not
- let it do the work of parsing the URL too? We could use SGML features
- for certain semantics; we could use the SGML numeric character entity
- reference ({) in stead of the %FF quoting scheme, and we could
- use attribute default values to infer type, subtype, and other
- attributes.
-
- I also think we should have optional identity information in the
- links. This allows clients to determine whether two links point to the
- same information. For example, someone might extend some FTP an WAIS
- servers to return the MD5 signature of documents. Then a client could
- conclude (with some very high probability) that
-
- <ftp host="cs.utexas.edu" path="contrib" name="x.tar.Z" md5="abcdef">
-
- and
-
- <wais host="quake.think.com" database="software" path="x-2.1.tar.Z"
- md5="abcdef">
-
- refer to the same release of the package.
-
- Thoughts?
-
- Dan
-
- p.s. I've attached the MIME RFC below. If you've got a MIME mail UA,
- it should be able to bring up the text. If not, there's enough info
- for you to ftp the thing manually.
-
-